package genesis.familytree.server.modules.common.entity;

import java.util.Map;

/**
 * Created by CoderJiang@Sina.com on 2016/7/22.
 */
public class PageEntity {
    private Integer page; //目前是第几页
    private Integer size; //每页大小
    private Map params; //传入的参数
    private String orderColumn;
    private String orderTurn = "DESC";

    public String getOrderColumn() {
        return orderColumn;
    }

    public void setOrderColumn(String orderColumn) {
        this.orderColumn = orderColumn;
    }

    public String getOrderTurn() {
        return orderTurn;
    }

    public void setOrderTurn(String orderTurn) {
        this.orderTurn = orderTurn;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public Map getParams() {
        return params;
    }

    public void setParams(Map params) {
        this.params = params;
    }
}
